find the zeros of a polynomial function using rational root theorem